/**
 * Title: UserPermitDao.java
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2019-7-31 16:23
 * @description Project Name: Grote
 * @Package: com.srct.service.account.dao.common.mapper
 */
package com.sharp.authorization.dao.common.mapper;

import com.sharp.authorization.dao.common.entity.AcPermit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserPermitDao {

    /**
     * Select permit by user id and Client type.
     *
     * @param customerNumber the user id
     * @param clientType     the client type
     * @return the list
     */
    List<AcPermit> getPermitList(@Param("userId") String userId,
                                 @Param("customerNumber") String customerNumber,
                                 @Param("clientType") String clientType);

}
